package com.ticket.sass.admin.dto.output.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author ywb
 * @date 2024-03-25 14:48
 */
@Data
@ApiModel("优惠券信息")
public class CouponOutput {
    @ApiModelProperty(value = "优惠券ID")
    private Long id;
    
    @ApiModelProperty(value = "券名称")
    private String name;
    
    @ApiModelProperty(value = "优惠金额")
    private BigDecimal discountAmount;
    
    public CouponOutput() {
    
    }
    
    public CouponOutput(Long id, String name, BigDecimal discountAmount) {
        this.id = id;
        this.name = name;
        this.discountAmount = discountAmount;
    }
}
